package com.text.day1_5;

//import com.text.day1_1.File;

import java.io.File;
import java.util.Scanner;

public class UseLei {
    public static void main(String[] args) {
//        Cat cat = new Cat();

//        File file = new File();
//        Scanner scanner = new Scanner(System.in);
//        scanner.hasNext()      判断下一个有没有


        String str1 = "Hello";
        String str2 = "Hello";
//        String str2 = new String("Hello");
        boolean isEqual = str2.equals(str1); // true
        System.out.println(isEqual);
    }
}
